package com.leyou.page.entity;

import com.leyou.user.entity.User;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * User: ycs
 * Date: 2020/9/9
 * Time: 19:07
 * Description: No Description
 *
 * @author : ycs
 */
@Document(collection="comment")
@Data
public class Comment {
    @Id
    private String id;
    //spuId
    private String spuId;
    //用户
    private User user;
    //评价
    private String evaluate;
    //图片
    private String image;
}
